projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f8e2fc
)
check button: Fix inconsistent state
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 25 Dec 2017 16:27:16 +0000
(11:27 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 25 Dec 2017 16:36:39 +0000
(11:36 -0500)
This has been broken since the inconsistent state
was moved here in
2aea8dfee97b
.
gtk/gtkcheckbutton.c
patch
|
blob
|
history
diff --git
a/gtk/gtkcheckbutton.c
b/gtk/gtkcheckbutton.c
index d67b686c940565c1d9fcf79a6b4d65c03b44c330..c15881eb7e3d00e8cc26f4e8f1c296bfe8da537b 100644
(file)
--- a/
gtk/gtkcheckbutton.c
+++ b/
gtk/gtkcheckbutton.c
@@
-562,8
+562,10
@@
gtk_check_button_set_inconsistent (GtkCheckButton *check_button,
g_return_if_fail (GTK_IS_CHECK_BUTTON (check_button));
inconsistent = !!inconsistent;
- if (
inconsistent != priv->
inconsistent)
+ if (
priv->inconsistent !=
inconsistent)
{
+ priv->inconsistent = inconsistent;
+
if (inconsistent)
gtk_widget_set_state_flags (GTK_WIDGET (check_button), GTK_STATE_FLAG_INCONSISTENT, FALSE);
else